package homework15;

public class adc extends figure {
    int range;//射程

    public adc(int blood_Volume, int magic, int velocity, double critical_Strike_Chance, double attack_speed, int grade, int range) {
        super(blood_Volume, magic, velocity, critical_Strike_Chance, attack_speed, grade);
        this.range = range;
    }
    //新增方法改变射程
    public void uprange(int range){
        this.range=this.range=range;
        System.err.println("adc射程改变");
    }
    // //继承figure并重写方法
    public void upMagic(int magic) {
        System.err.println("adc没有蓝条");
    }
    public adc() {
        super();
    }
}
